import tui from '@/request/index.js'

export let getOrderList =  (data) =>{
	return tui.request(`/orderList`, data, 'post')
}

export let selectAddress = () =>{
	return tui.request(`/selectAddress`, [], 'post')
}

export let submitOrder = (data) =>{
	return tui.request(`/submitOrder`, data, 'post')
}

export let payment = (data) =>{
	return tui.request(`/payment`, data, 'post')
}

export let orderGoods = (data) =>{
	return tui.request(`/orderGoods`, data, 'post')
}
